<?php
/*
 * This file is part of tOAuth Class
 * Copyright (C) 2009-2010, Sergio Cruz aka scromega (scr.omega at gmail dot com)
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */


require('modelo_twitter.php');



//$r = $connection->get('account/verify_credentials');
//$r1 = $connection->get('statuses/mentions');

if(isset($_POST['msj']))
{
	$msj= $_POST['msj'];
	enviar_twitter($msj);
	echo "mensaje enviado. Redirigiendo <br>"
?>
<script type="text/javascript">redir("get.php","tw",1000);</script>
<?php
}
?>
